﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage2.master" AutoEventWireup="true" CodeFile="Admin_ThongKeDoanhThuTheoQuy.aspx.cs" Inherits="ChucNang_Admin_Admin_ThongKeDoanhThuTheoQuy" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h2>THỐNG KÊ DOANH THU THEO QUÝ</h2>

    <br />
    Chọn năm:<asp:DropDownList ID="dropdownNam" runat="server" 
        DataSourceID="SqlDataSource1" DataTextField="Nam" DataValueField="Nam" 
        >
    </asp:DropDownList>
    <asp:Button ID="btnThongKe" runat="server" onclick="btnThongKe_Click" 
        Text="Thống kê" />
    <br />
    <center>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Width="148px" BorderColor="#CC0000">
        <RowStyle Font-Bold="True" />
        <Columns>
            <asp:BoundField DataField="Quy" HeaderText="Quý" />
            <asp:BoundField DataField="DoanhThu" HeaderText="Doanh Thu" />
        </Columns>
        <HeaderStyle BackColor="#990033" ForeColor="White" />
    </asp:GridView>
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
            Width="148px" BorderColor="#CC0000">
        <RowStyle Font-Bold="True" />
        <Columns>
            <asp:BoundField DataField="Quy" HeaderText="Quý" />
            <asp:BoundField DataField="DoanhThu" HeaderText="Doanh Thu"   />
        </Columns>
        <HeaderStyle BackColor="#CC0000" ForeColor="#CC0000" Height="0px" />
    </asp:GridView>
    <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
            Width="148px" BorderColor="#CC0000">
        <RowStyle Font-Bold="True" />
        <Columns>
            <asp:BoundField DataField="Quy" HeaderText="Quý" />
            <asp:BoundField DataField="DoanhThu" HeaderText="Doanh Thu"  />
        </Columns>
        <HeaderStyle BackColor="#CC0000" ForeColor="#CC0000" Height="0px" />
    </asp:GridView>
    <asp:GridView ID="GridView4" runat="server" AutoGenerateColumns="False" 
            Width="148px" BorderColor="#CC0000">
        <RowStyle Font-Bold="True" />
        <Columns>
            <asp:BoundField DataField="Quy" HeaderText="Quý" />
            <asp:BoundField DataField="DoanhThu" HeaderText="Doanh Thu"  />
        </Columns>
        <HeaderStyle BackColor="#CC0000" ForeColor="#CC0000" Height="0px" />
    </asp:GridView>
    </center>
    <br />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SMOConnectionString %>" 
        SelectCommand="sp_DATHANG_LayTatCaNam" SelectCommandType="StoredProcedure">
    </asp:SqlDataSource>
    
</asp:Content>

